projects
/
project
/
bcm63xx
/
atf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
620d983
)
Fix restoring APIBKey registers
author
Sandrine Bailleux
<
[email protected]
>
Thu, 14 Mar 2019 10:38:01 +0000
(11:38 +0100)
committer
Sandrine Bailleux
<
[email protected]
>
Thu, 14 Mar 2019 12:57:16 +0000
(13:57 +0100)
Instruction key A was incorrectly restored in the instruction key B
registers.
Change-Id: I4cb81ac72180442c077898509cb696c9d992eda3
Signed-off-by: Sandrine Bailleux <
[email protected]
>
lib/el3_runtime/aarch64/context.S
patch
|
blob
|
history
diff --git
a/lib/el3_runtime/aarch64/context.S
b/lib/el3_runtime/aarch64/context.S
index 4371cb2b211170059addeb0fef1ff9af42d1f15c..e6ab19bccb21bf755789a182642e8955efa12946 100644
(file)
--- a/
lib/el3_runtime/aarch64/context.S
+++ b/
lib/el3_runtime/aarch64/context.S
@@
-356,7
+356,7
@@
func pauth_context_restore
msr APIAKeyLo_EL1, x9
msr APIAKeyHi_EL1, x10
- ldp x9, x10, [x11, #CTX_PACI
A
KEY_LO]
+ ldp x9, x10, [x11, #CTX_PACI
B
KEY_LO]
msr APIBKeyLo_EL1, x9
msr APIBKeyHi_EL1, x10